MouseEventArgs Properties
An object defining properties for the MouseEventArgs class.
ClientY
The vertical coordinate of the mouse relative to the client area.
Type: double
OffsetY
The vertical coordinate of the mouse relative to the event target.
Type: double
Buttons
Specifies the currently pressed mouse buttons.
Type: double
LayerY
The vertical coordinate of the mouse relative to the nearest positioned ancestor element.
Type: double
MetaKey
Indicates whether the "Meta" key (Windows key or Command key) was pressed during the event.
Type: bool
LayerX
The horizontal coordinate of the mouse relative to the nearest positioned ancestor element.
Type: double
CtrlKey
Indicates whether the "Ctrl" key was pressed during the event.
Type: bool
MovementX
The horizontal movement of the mouse since the last event.
Type: double
PageX
The horizontal coordinate of the mouse relative to the whole document.
Type: double
ResponseParameters
The response parameters associated with the event.
Type: ResponseParameters
ScreenX
The horizontal coordinate of the mouse relative to the screen.
Type: double
OffsetX
The horizontal coordinate of the mouse relative to the event target.
Type: double
ShiftKey
Indicates whether the "Shift" key was pressed during the event.
Type: bool
MovementY
The vertical movement of the mouse since the last event.
Type: double
Y
The vertical coordinate of the mouse relative to the event target.
Type: double
AltKey
Indicates whether the "Alt" key was pressed during the event.
Type: bool
Button
Specifies which mouse button was pressed.
Type: double
ScreenY
The vertical coordinate of the mouse relative to the screen.
Type: double
PageY
The vertical coordinate of the mouse relative to the whole document.
Type: double
ClientX
The horizontal coordinate of the mouse relative to the client area.
Type: double
X
The horizontal coordinate of the mouse relative to the event target.
Type: double